Delete All Address Book
You can delete all address books associated with a shipper
URL Config
Endpoint: https://api.dps.io/api
APIVersion: v1
route: addressbook
path: <YOUR_SHIPPER_HASH>
Method
DELETE
URL
https://api.dps.io/api/v1/addressbook/05K9****************************JG6a
Request Headers
{
"Content-Type": "application/json",
"x-api-key": "<YOUR_API_KEY>",
"ShipperHash": "<YOUR_SHIPPER_HASH>"
}
Curl request
curl --location --request DELETE 'https://api.dps.io/api/v1/addressbook/05K9****************************JG6a' \
--header 'x-api-key: <your-api-key>' \
--header 'ShipperHash: <your-shipper-hash>' \
--header 'Content-Type: application/json' \
--data-raw ''
Response
{
"message": "Records has been deleted successfully"
}